﻿<UserControl x:Class="PM.UI.BugManager.CreateBugWindow"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="800" d:DesignWidth="1280">
    <UserControl.Background>
        <ImageBrush ImageSource="/PM.UI;Component/Images/BackGroundImage.png"></ImageBrush>
    </UserControl.Background>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="50"></RowDefinition>
            <RowDefinition Height="*"></RowDefinition>
            <RowDefinition Height="50"></RowDefinition>
        </Grid.RowDefinitions>
        <Grid Grid.Row="0">
            <StackPanel Orientation="Horizontal">
                <Image Source="/PM.UI;Component/Images/project.png" Height="32" Width="32" Margin="10,0,0,0" HorizontalAlignment="Left"></Image>
                <TextBlock TextAlignment="Left" Margin="10,0,0,0" FontSize="16" Foreground="White"  VerticalAlignment="Center"> 新建Bug</TextBlock>
            </StackPanel>
        </Grid>
        <Grid Grid.Row="1">
            <StackPanel Orientation="Vertical">
                <StackPanel Orientation="Horizontal">
                <Label VerticalAlignment="Center" FontSize="16" Foreground="White" Margin="10,0,0,0">标题：</Label>
                <TextBox Height="30" Width="700" Margin="10,0,0,0" FontSize="16" Foreground="White"></TextBox>
            </StackPanel>
                <StackPanel Orientation="Horizontal">
                    <Label VerticalAlignment="Center" FontSize="16" Foreground="White" Margin="10,0,0,0">版本：</Label>
                    <ComboBox Height="30" Width="300" Margin="10,0,0,0" FontSize="16" Foreground="White"></ComboBox>
                </StackPanel>
                <StackPanel Orientation="Horizontal">
                    <Label VerticalAlignment="Center" FontSize="16" Foreground="White" Margin="10,0,0,0">模块：</Label>
                    <ComboBox Height="30" Width="300" Margin="10,0,0,0" FontSize="16" Foreground="White">
                        </ComboBox>
                </StackPanel>
                <StackPanel Orientation="Horizontal">
                    <Label VerticalAlignment="Center" FontSize="16" Foreground="White" Margin="10,0,0,0">级别：</Label>
                    <RadioButton Height="30" Width="70" Margin="10,0,0,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="16" Foreground="White">低</RadioButton>
                    <RadioButton Height="30" Width="70" Margin="10,0,0,0"  HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="16" Foreground="White">中</RadioButton>
                    <RadioButton Height="30" Width="70" Margin="10,0,0,0"  HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="16" Foreground="White">高</RadioButton>
                    <RadioButton Height="30" Width="70" Margin="10,0,0,0"  HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="16" Foreground="White">紧急</RadioButton>
                    <RadioButton Height="30" Width="70" Margin="10,0,0,0"  HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="16" Foreground="White">严重</RadioButton>
                </StackPanel>
                <StackPanel Orientation="Horizontal">
                    <Label VerticalAlignment="Center" FontSize="16" Foreground="White" Margin="10,0,0,0">分配：</Label>
                    <ComboBox Height="30" Width="300" Margin="10,0,0,0" FontSize="16" Foreground="White"></ComboBox>
                </StackPanel>
                <StackPanel Orientation="Horizontal">
                    <Label VerticalAlignment="Top" FontSize="16" Foreground="White" Margin="10,0,0,0">内容：</Label>
                    <RichTextBox Height="400" Width="700" Margin="10,0,0,0" FontSize="16" Foreground="White"></RichTextBox>
                </StackPanel>
            </StackPanel>
        </Grid>
        <Grid Grid.Row="2">
            <StackPanel Orientation="Horizontal" HorizontalAlignment="Left">
                <Button Width="100" Height="40" Margin="75,0,0,0" FontSize="16" Background="SkyBlue" Foreground="White" Content="提交">
                </Button>
                <Button Width="100" Height="40" Margin="30,0,0,0" FontSize="16" Background="SkyBlue" Foreground="White" Content="返回">
                </Button>
            </StackPanel>
        </Grid>
    </Grid>
</UserControl>
